using System;
using System.Collections.Generic;
using System.Text;
using THSLib;
using THSERP.BaseProvider;

namespace THSERP.Modules.POS
{
    public class POSRedemptionItemsEntity : ERPModuleItemsEntity
    {
        #region Variables
        protected int _bRPOSRedemptionItemID;
        protected String _aAStatus = DefaultAAStatus;
        protected bool _aAIsCalculated = true;
        protected int _fK_BRPOSID;
        protected int _fK_ICDepartmentID;
        protected int _fK_ICProductGroupID;
        protected int _fK_ICProductID;
        protected int _fK_ICProductAttributeID;
        protected int _fK_ICStockID;
        protected int _fK_ICStockSlotID;
        protected String _bRPOSRedemptionItemProductSerialNo = String.Empty;
        protected String _bRPOSRedemptionItemProductAttribute = String.Empty;
        protected String _bRPOSRedemptionItemProductType = String.Empty;
        protected int _bRPOSRedemptionItemSortOrder;
        protected String _bRPOSRedemptionItemProductName = String.Empty;
        protected String _bRPOSRedemptionItemProductDesc = String.Empty;
        protected String _bRPOSRedemptionItemStatusCombo = DefaultStatus;
        protected String _bRPOSRedemptionItemProductSellUnit = String.Empty;
        protected String _bRPOSRedemptionItemProductBasicUnit = String.Empty;
        protected String _bRPOSRedemptionItemProductPackagingUnit = String.Empty;
        protected double _bRPOSRedemptionItemProductSellFactor;
        protected double _bRPOSRedemptionItemProductPackagingFactor;
        protected double _bRPOSRedemptionItemProductUnitPrice;
        protected double _bRPOSRedemptionItemProductInternalUnitPrice;
        protected double _bRPOSRedemptionItemProductUnitCost;
        protected double _bRPOSRedemptionItemProductGroupDiscount;
        protected double _bRPOSRedemptionItemProductDiscount;
        protected double _bRPOSRedemptionItemProductTaxPercent;
        protected double _bRPOSRedemptionItemProductQtyOld;
        protected double _bRPOSRedemptionItemProductQty;
        protected double _bRPOSRedemptionItemProductBasicQty;
        protected double _bRPOSRedemptionItemProductPakagingQty;
        protected double _bRPOSRedemptionItemQty1;
        protected double _bRPOSRedemptionItemQty2;
        protected double _bRPOSRedemptionItemQty3;
        protected double _bRPOSRedemptionItemQty4;
        protected double _bRPOSRedemptionItemQty5;
        protected double _bRPOSRedemptionItemQty6;
        protected String _bRPOSRedemptionItemComment = String.Empty;
        protected double _bRPOSRedemptionItemUnitVolumn;
        protected double _bRPOSRedemptionItemUnitWeight;
        protected double _bRPOSRedemptionItemPrice;
        protected double _bRPOSRedemptionItemInternalPrice;
        protected double _bRPOSRedemptionItemTaxAmount;
        protected double _bRPOSRedemptionItemDiscountAmount;
        protected double _bRPOSRedemptionItemNetAmount;
        protected double _bRPOSRedemptionItemTotalAmount;
        protected double _bRPOSRedemptionItemTotalCost;
        protected String _bRPOSRedemptionItemDescReturn = String.Empty;

        #endregion

        #region Public properties
        public int BRPOSRedemptionItemID
        {
            get { return _bRPOSRedemptionItemID; }
            set
            {
                if (value != this._bRPOSRedemptionItemID)
                {
                    _bRPOSRedemptionItemID = value;
                    ////NotifyChanged("BRPOSRedemptionItemID");
                }
            }
        }
        public String AAStatus
        {
            get { return _aAStatus; }
            set
            {
                if (value != this._aAStatus)
                {
                    _aAStatus = value;
                    //NotifyChanged("AAStatus");
                }
            }
        }
        public bool AAIsCalculated
        {
            get { return _aAIsCalculated; }
            set
            {
                if (value != this._aAIsCalculated)
                {
                    _aAIsCalculated = value;
                    //NotifyChanged("AAIsCalculated");
                }
            }
        }
        public int FK_BRPOSID
        {
            get { return _fK_BRPOSID; }
            set
            {
                if (value != this._fK_BRPOSID)
                {
                    _fK_BRPOSID = value;
                    //NotifyChanged("FK_BRPOSID");
                }
            }
        }
        public int FK_ICDepartmentID
        {
            get { return _fK_ICDepartmentID; }
            set
            {
                if (value != this._fK_ICDepartmentID)
                {
                    _fK_ICDepartmentID = value;
                    //NotifyChanged("FK_ICDepartmentID");
                }
            }
        }
        public int FK_ICProductGroupID
        {
            get { return _fK_ICProductGroupID; }
            set
            {
                if (value != this._fK_ICProductGroupID)
                {
                    _fK_ICProductGroupID = value;
                    //NotifyChanged("FK_ICProductGroupID");
                }
            }
        }
        public int FK_ICProductID
        {
            get { return _fK_ICProductID; }
            set
            {
                if (value != this._fK_ICProductID)
                {
                    _fK_ICProductID = value;
                    //NotifyChanged("FK_ICProductID");
                }
            }
        }
        public int FK_ICProductAttributeID
        {
            get { return _fK_ICProductAttributeID; }
            set
            {
                if (value != this._fK_ICProductAttributeID)
                {
                    _fK_ICProductAttributeID = value;
                    //NotifyChanged("FK_ICProductAttributeID");
                }
            }
        }
        public int FK_ICStockID
        {
            get { return _fK_ICStockID; }
            set
            {
                if (value != this._fK_ICStockID)
                {
                    _fK_ICStockID = value;
                    //NotifyChanged("FK_ICStockID");
                }
            }
        }
        public int FK_ICStockSlotID
        {
            get { return _fK_ICStockSlotID; }
            set
            {
                if (value != this._fK_ICStockSlotID)
                {
                    _fK_ICStockSlotID = value;
                    //NotifyChanged("FK_ICStockSlotID");
                }
            }
        }
        public String BRPOSRedemptionItemProductSerialNo
        {
            get { return _bRPOSRedemptionItemProductSerialNo; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductSerialNo)
                {
                    _bRPOSRedemptionItemProductSerialNo = value;
                    //NotifyChanged("BRPOSRedemptionItemProductSerialNo");
                }
            }
        }
        public String BRPOSRedemptionItemProductAttribute
        {
            get { return _bRPOSRedemptionItemProductAttribute; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductAttribute)
                {
                    _bRPOSRedemptionItemProductAttribute = value;
                    //NotifyChanged("BRPOSRedemptionItemProductAttribute");
                }
            }
        }
        public String BRPOSRedemptionItemProductType
        {
            get { return _bRPOSRedemptionItemProductType; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductType)
                {
                    _bRPOSRedemptionItemProductType = value;
                    //NotifyChanged("BRPOSRedemptionItemProductType");
                }
            }
        }
        public int BRPOSRedemptionItemSortOrder
        {
            get { return _bRPOSRedemptionItemSortOrder; }
            set
            {
                if (value != this._bRPOSRedemptionItemSortOrder)
                {
                    _bRPOSRedemptionItemSortOrder = value;
                    //NotifyChanged("BRPOSRedemptionItemSortOrder");
                }
            }
        }
        public String BRPOSRedemptionItemProductName
        {
            get { return _bRPOSRedemptionItemProductName; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductName)
                {
                    _bRPOSRedemptionItemProductName = value;
                    //NotifyChanged("BRPOSRedemptionItemProductName");
                }
            }
        }
        public String BRPOSRedemptionItemProductDesc
        {
            get { return _bRPOSRedemptionItemProductDesc; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductDesc)
                {
                    _bRPOSRedemptionItemProductDesc = value;
                    //NotifyChanged("BRPOSRedemptionItemProductDesc");
                }
            }
        }
        public String BRPOSRedemptionItemStatusCombo
        {
            get { return _bRPOSRedemptionItemStatusCombo; }
            set
            {
                if (value != this._bRPOSRedemptionItemStatusCombo)
                {
                    _bRPOSRedemptionItemStatusCombo = value;
                    //NotifyChanged("BRPOSRedemptionItemStatusCombo");
                }
            }
        }
        public String BRPOSRedemptionItemProductSellUnit
        {
            get { return _bRPOSRedemptionItemProductSellUnit; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductSellUnit)
                {
                    _bRPOSRedemptionItemProductSellUnit = value;
                    //NotifyChanged("BRPOSRedemptionItemProductSellUnit");
                }
            }
        }
        public String BRPOSRedemptionItemProductBasicUnit
        {
            get { return _bRPOSRedemptionItemProductBasicUnit; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductBasicUnit)
                {
                    _bRPOSRedemptionItemProductBasicUnit = value;
                    //NotifyChanged("BRPOSRedemptionItemProductBasicUnit");
                }
            }
        }
        public String BRPOSRedemptionItemProductPackagingUnit
        {
            get { return _bRPOSRedemptionItemProductPackagingUnit; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductPackagingUnit)
                {
                    _bRPOSRedemptionItemProductPackagingUnit = value;
                    //NotifyChanged("BRPOSRedemptionItemProductPackagingUnit");
                }
            }
        }
        public double BRPOSRedemptionItemProductSellFactor
        {
            get { return _bRPOSRedemptionItemProductSellFactor; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductSellFactor)
                {
                    _bRPOSRedemptionItemProductSellFactor = value;
                    //NotifyChanged("BRPOSRedemptionItemProductSellFactor");
                }
            }
        }
        public double BRPOSRedemptionItemProductPackagingFactor
        {
            get { return _bRPOSRedemptionItemProductPackagingFactor; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductPackagingFactor)
                {
                    _bRPOSRedemptionItemProductPackagingFactor = value;
                    //NotifyChanged("BRPOSRedemptionItemProductPackagingFactor");
                }
            }
        }
        public double BRPOSRedemptionItemProductUnitPrice
        {
            get { return _bRPOSRedemptionItemProductUnitPrice; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductUnitPrice)
                {
                    _bRPOSRedemptionItemProductUnitPrice = value;
                    //NotifyChanged("BRPOSRedemptionItemProductUnitPrice");
                }
            }
        }
        public double BRPOSRedemptionItemProductInternalUnitPrice
        {
            get { return _bRPOSRedemptionItemProductInternalUnitPrice; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductInternalUnitPrice)
                {
                    _bRPOSRedemptionItemProductInternalUnitPrice = value;
                    //NotifyChanged("BRPOSRedemptionItemProductInternalUnitPrice");
                }
            }
        }
        public double BRPOSRedemptionItemProductUnitCost
        {
            get { return _bRPOSRedemptionItemProductUnitCost; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductUnitCost)
                {
                    _bRPOSRedemptionItemProductUnitCost = value;
                    //NotifyChanged("BRPOSRedemptionItemProductUnitCost");
                }
            }
        }
        public double BRPOSRedemptionItemProductGroupDiscount
        {
            get { return _bRPOSRedemptionItemProductGroupDiscount; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductGroupDiscount)
                {
                    _bRPOSRedemptionItemProductGroupDiscount = value;
                    //NotifyChanged("BRPOSRedemptionItemProductGroupDiscount");
                }
            }
        }
        public double BRPOSRedemptionItemProductDiscount
        {
            get { return _bRPOSRedemptionItemProductDiscount; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductDiscount)
                {
                    _bRPOSRedemptionItemProductDiscount = value;
                    //NotifyChanged("BRPOSRedemptionItemProductDiscount");
                }
            }
        }
        public double BRPOSRedemptionItemProductTaxPercent
        {
            get { return _bRPOSRedemptionItemProductTaxPercent; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductTaxPercent)
                {
                    _bRPOSRedemptionItemProductTaxPercent = value;
                    //NotifyChanged("BRPOSRedemptionItemProductTaxPercent");
                }
            }
        }
        public double BRPOSRedemptionItemProductQtyOld
        {
            get { return _bRPOSRedemptionItemProductQtyOld; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductQtyOld)
                {
                    _bRPOSRedemptionItemProductQtyOld = value;
                    //NotifyChanged("BRPOSRedemptionItemProductQtyOld");
                }
            }
        }
        public double BRPOSRedemptionItemProductQty
        {
            get { return _bRPOSRedemptionItemProductQty; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductQty)
                {
                    _bRPOSRedemptionItemProductQty = value;
                    //NotifyChanged("BRPOSRedemptionItemProductQty");
                }
            }
        }
        public double BRPOSRedemptionItemProductBasicQty
        {
            get { return _bRPOSRedemptionItemProductBasicQty; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductBasicQty)
                {
                    _bRPOSRedemptionItemProductBasicQty = value;
                    //NotifyChanged("BRPOSRedemptionItemProductBasicQty");
                }
            }
        }
        public double BRPOSRedemptionItemProductPakagingQty
        {
            get { return _bRPOSRedemptionItemProductPakagingQty; }
            set
            {
                if (value != this._bRPOSRedemptionItemProductPakagingQty)
                {
                    _bRPOSRedemptionItemProductPakagingQty = value;
                    //NotifyChanged("BRPOSRedemptionItemProductPakagingQty");
                }
            }
        }
        public double BRPOSRedemptionItemQty1
        {
            get { return _bRPOSRedemptionItemQty1; }
            set
            {
                if (value != this._bRPOSRedemptionItemQty1)
                {
                    _bRPOSRedemptionItemQty1 = value;
                    //NotifyChanged("BRPOSRedemptionItemQty1");
                }
            }
        }
        public double BRPOSRedemptionItemQty2
        {
            get { return _bRPOSRedemptionItemQty2; }
            set
            {
                if (value != this._bRPOSRedemptionItemQty2)
                {
                    _bRPOSRedemptionItemQty2 = value;
                    //NotifyChanged("BRPOSRedemptionItemQty2");
                }
            }
        }
        public double BRPOSRedemptionItemQty3
        {
            get { return _bRPOSRedemptionItemQty3; }
            set
            {
                if (value != this._bRPOSRedemptionItemQty3)
                {
                    _bRPOSRedemptionItemQty3 = value;
                    //NotifyChanged("BRPOSRedemptionItemQty3");
                }
            }
        }
        public double BRPOSRedemptionItemQty4
        {
            get { return _bRPOSRedemptionItemQty4; }
            set
            {
                if (value != this._bRPOSRedemptionItemQty4)
                {
                    _bRPOSRedemptionItemQty4 = value;
                    //NotifyChanged("BRPOSRedemptionItemQty4");
                }
            }
        }
        public double BRPOSRedemptionItemQty5
        {
            get { return _bRPOSRedemptionItemQty5; }
            set
            {
                if (value != this._bRPOSRedemptionItemQty5)
                {
                    _bRPOSRedemptionItemQty5 = value;
                    //NotifyChanged("BRPOSRedemptionItemQty5");
                }
            }
        }
        public double BRPOSRedemptionItemQty6
        {
            get { return _bRPOSRedemptionItemQty6; }
            set
            {
                if (value != this._bRPOSRedemptionItemQty6)
                {
                    _bRPOSRedemptionItemQty6 = value;
                    //NotifyChanged("BRPOSRedemptionItemQty6");
                }
            }
        }
        public String BRPOSRedemptionItemComment
        {
            get { return _bRPOSRedemptionItemComment; }
            set
            {
                if (value != this._bRPOSRedemptionItemComment)
                {
                    _bRPOSRedemptionItemComment = value;
                    //NotifyChanged("BRPOSRedemptionItemComment");
                }
            }
        }
        public double BRPOSRedemptionItemUnitVolumn
        {
            get { return _bRPOSRedemptionItemUnitVolumn; }
            set
            {
                if (value != this._bRPOSRedemptionItemUnitVolumn)
                {
                    _bRPOSRedemptionItemUnitVolumn = value;
                    //NotifyChanged("BRPOSRedemptionItemUnitVolumn");
                }
            }
        }
        public double BRPOSRedemptionItemUnitWeight
        {
            get { return _bRPOSRedemptionItemUnitWeight; }
            set
            {
                if (value != this._bRPOSRedemptionItemUnitWeight)
                {
                    _bRPOSRedemptionItemUnitWeight = value;
                    //NotifyChanged("BRPOSRedemptionItemUnitWeight");
                }
            }
        }
        public double BRPOSRedemptionItemPrice
        {
            get { return _bRPOSRedemptionItemPrice; }
            set
            {
                if (value != this._bRPOSRedemptionItemPrice)
                {
                    _bRPOSRedemptionItemPrice = value;
                    //NotifyChanged("BRPOSRedemptionItemPrice");
                }
            }
        }
        public double BRPOSRedemptionItemInternalPrice
        {
            get { return _bRPOSRedemptionItemInternalPrice; }
            set
            {
                if (value != this._bRPOSRedemptionItemInternalPrice)
                {
                    _bRPOSRedemptionItemInternalPrice = value;
                    //NotifyChanged("BRPOSRedemptionItemInternalPrice");
                }
            }
        }
        public double BRPOSRedemptionItemTaxAmount
        {
            get { return _bRPOSRedemptionItemTaxAmount; }
            set
            {
                if (value != this._bRPOSRedemptionItemTaxAmount)
                {
                    _bRPOSRedemptionItemTaxAmount = value;
                    //NotifyChanged("BRPOSRedemptionItemTaxAmount");
                }
            }
        }
        public double BRPOSRedemptionItemDiscountAmount
        {
            get { return _bRPOSRedemptionItemDiscountAmount; }
            set
            {
                if (value != this._bRPOSRedemptionItemDiscountAmount)
                {
                    _bRPOSRedemptionItemDiscountAmount = value;
                    //NotifyChanged("BRPOSRedemptionItemDiscountAmount");
                }
            }
        }
        public double BRPOSRedemptionItemNetAmount
        {
            get { return _bRPOSRedemptionItemNetAmount; }
            set
            {
                if (value != this._bRPOSRedemptionItemNetAmount)
                {
                    _bRPOSRedemptionItemNetAmount = value;
                    //NotifyChanged("BRPOSRedemptionItemNetAmount");
                }
            }
        }
        public double BRPOSRedemptionItemTotalAmount
        {
            get { return _bRPOSRedemptionItemTotalAmount; }
            set
            {
                if (value != this._bRPOSRedemptionItemTotalAmount)
                {
                    _bRPOSRedemptionItemTotalAmount = value;
                    //NotifyChanged("BRPOSRedemptionItemTotalAmount");
                }
            }
        }
        public double BRPOSRedemptionItemTotalCost
        {
            get { return _bRPOSRedemptionItemTotalCost; }
            set
            {
                if (value != this._bRPOSRedemptionItemTotalCost)
                {
                    _bRPOSRedemptionItemTotalCost = value;
                    //NotifyChanged("BRPOSRedemptionItemTotalCost");
                }
            }
        }
        public String BRPOSRedemptionItemDescReturn
        {
            get { return _bRPOSRedemptionItemDescReturn; }
            set
            {
                if (value != this._bRPOSRedemptionItemDescReturn)
                {
                    _bRPOSRedemptionItemDescReturn = value;
                   // NotifyChanged("BRPOSRedemptionItemDescReturn");
                }
            }
        }

        #endregion
    }
  
}